package cn.hfatec.shms.system.user.model;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author: panwb
 *
 * Date: 2015/11/10
 * Time: 17:15
 */
public class ModifyPassword {


    private Integer id;

    private String password;

    @NotBlank(message = "密码不能为空")
    private String password1;

    @NotBlank(message = "重复密码不能为空")
    private String password2;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword1() {
        return password1;
    }

    public void setPassword1(String password1) {
        this.password1 = password1;
    }

    public String getPassword2() {
        return password2;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
